package com.zkingsoft.tools;

/**
 * 图片合成对象
 * 
 * @author JIANGYOUYAO
 * @email 935090232@qq.com
 * @date 2018年7月19日
 */
public class ImageMerge {
	/**
	 * 字符串类型
	 */
	public static final int STR = 1;
	/**
	 * 图片类型
	 */
	public static final int IMG = 2;
	
	private String imgFormat;

	private int type;

	private int x;

	private int y;

	private String text;

	private int wordSpacing;

	private String color;

	private String fontFamily;

	private int fontSize;

	/**
	 * 小图路径
	 */
	private String smallPath;

	private int width;

	private int height;

	private float alpha;

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public int getWordSpacing() {
		return wordSpacing;
	}

	public void setWordSpacing(int wordSpacing) {
		this.wordSpacing = wordSpacing;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getFontFamily() {
		return fontFamily;
	}

	public void setFontFamily(String fontFamily) {
		this.fontFamily = fontFamily;
	}

	public int getFontSize() {
		return fontSize;
	}

	public void setFontSize(int fontSize) {
		this.fontSize = fontSize;
	}

	public String getSmallPath() {
		return smallPath;
	}

	public void setSmallPath(String smallPath) {
		this.smallPath = smallPath;
	}
 

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public float getAlpha() {
		return alpha;
	}

	public void setAlpha(float alpha) {
		this.alpha = alpha;
	}

	public static int getStr() {
		return STR;
	}

	public static int getImg() {
		return IMG;
	}

	public String getImgFormat() {
		return imgFormat;
	}

	public void setImgFormat(String imgFormat) {
		this.imgFormat = imgFormat;
	}
	
	
	

}
